import vuex from 'vuex'
import Vue from 'vue'
Vue.use(vuex)
export default new vuex.Store({
    /*state必须*/
    state:{
        metionActive:0,
    },
    mutations:{
        // setUser(state,v){
        //     state.user=v;
        // },
        metionChange(state,newVal){
            state.metionActive=newVal
        }
    }
})